<template>
    <div class="wrap">
        <Welcome @changePage="welcome=false" v-if="welcome" :changeWel="welcome"></Welcome>
        <Login v-else></Login>
    </div>
</template>
<script setup>
    import { ref } from 'vue'
    import Login from './login.vue'
    import Welcome from './welcome.vue'
    const welcome = ref(true)
</script>
<style lang="less" scoped>
    .wrap{
        width: 100%;
        height: 100%;
    }
</style>